package demo1;

public class Cat extends Animal {

    public Cat(String name, int age, String color) {
        super(name, age, color);
    }

    public void bark() {
        System.out.println(this.name + "正在喵喵喵叫");
    }

    public void eat() {
        System.out.println(this.name + "正在吃猫粮");
    }

}
